package com.weyoung.common.model.dto.app;

import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * 更新族谱节点DTO
 */
@Data
public class UpdateRelationNodeDTO {
    
    @NotNull(message = "关系ID不能为空")
    private Long relationId;

    private Integer userId;

    private Long parentRelationId;
    
    @Min(value = 1, message = "世代数必须大于等于1")
    private Integer generation;

    private String remarks;
} 